package com.moorror.codegenvel.common.table;

import lombok.Data;

/**
 * @Author jiyanghuang
 * @Date 2022/4/2 12:27 AM
 */
@Data
public class ColumnDescriptor {

    private String columnName;

    private int order;

    private Object value;

    public ColumnDescriptor(String columnName, int order, Object value) {
        this.columnName = columnName;
        this.order = order;
        this.value = value;
    }

    public ColumnDescriptor copy(){
        ColumnDescriptor columnDescriptor = new ColumnDescriptor(columnName, order, value);
        return columnDescriptor;
    }


}
